﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Utils
{
    public static class XmlExtensions
    {
        public static string RemoveNamespace(this string text)
        {
            var index = text.IndexOf(':');

            if (index != -1)
            {
                return text.RemoveStart(index + 1);
            }
            else
            {
                return text;
            }
        }
    }
}
